package com.sky.mapper;

import com.sky.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @Author: KT917
 * @CreateTime: 2025-02-20-16:25
 * @Description:
 */

@Mapper
public interface UserMapper {

    @Select("SELECT  * FROM user WHERE  openid=#{openid}")
    User getByOpenid(String openid);

    void insert(User user);
}
